/***********************************************************************
 * POJO Class :  DocD.java
 * Author:  Bill Vison
 * Purpose: Defines the Class SysResource
 ***********************************************************************/

package edu.gtcfla.km.model;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

import edu.gtcfla.km.FileFormat;

@javax.persistence.Entity
@javax.persistence.Table(name = "FILE_FORMAT")
public class FileFormatD implements FileFormat, java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1L;

	@Column(name ="FORMAT_ID")
	@GeneratedValue(generator = "paymentableGenerator")      
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid") 	
	@Id	
	private String id;	
	
	@Override
	public String getId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public void setId(String id) {
		// TODO Auto-generated method stub
		this.id = id ;
	}

	@Column(name ="FORMAT_NAME")	
	private String name;
	
	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return name;
	}

	@Override
	public void setName(String name) {
		// TODO Auto-generated method stub
		this.name = name;
	}

	@Column(name ="SUFFIX")	
	private String suffix;	
	
	@Override
	public void setSuffix(String suffix) {
		// TODO Auto-generated method stub
		this.suffix = suffix;
	}

	@Override
	public String getSuffix() {
		// TODO Auto-generated method stub
		return suffix;
	}




	
	
	
}